//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03A
TN_Widget.CreateTable([['BoDeans','Englert Theatre','Iowa City, IA','Friday','5/3/2024','7:30 PM','6241030','BoDeans-5-3-2024'],['Water From Your Eyes & Friko','Englert Theatre','Iowa City, IA','Friday','5/3/2024','9:00 PM','6307767','Water-From-Your-Eyes---Friko-5-3-2024'],['TaikoProject','Englert Theatre','Iowa City, IA','Saturday','5/4/2024','7:30 PM','6241033','TaikoProject-5-4-2024'],['Trio Grismore','Englert Theatre','Iowa City, IA','Sunday','5/5/2024','7:30 PM','6368600','Trio-Grismore-5-5-2024'],['Jim Messina','Englert Theatre','Iowa City, IA','Wednesday','5/8/2024','7:30 PM','6322761','Jim-Messina-5-8-2024'],['Humbird','Englert Theatre','Iowa City, IA','Wednesday','5/15/2024','7:30 PM','6368601','Humbird-5-15-2024'],['Asleep At The Wheel','Englert Theatre','Iowa City, IA','Friday','5/17/2024','7:30 PM','6308272','Asleep-At-The-Wheel-5-17-2024'],['The War and Treaty','Englert Theatre','Iowa City, IA','Thursday','5/23/2024','7:30 PM','6333548','The-War-and-Treaty-5-23-2024'],['Robbie Fulks','Englert Theatre','Iowa City, IA','Sunday','6/2/2024','7:30 PM','6368602','Robbie-Fulks-6-2-2024'],['The Crane Wives','Englert Theatre','Iowa City, IA','Saturday','6/8/2024','6:30 PM','6342542','The-Crane-Wives-6-8-2024'],['Joe Pera','Englert Theatre','Iowa City, IA','Friday','6/14/2024','7:30 PM','6051134','Joe-Pera-6-14-2024'],['Sam Bush','Englert Theatre','Iowa City, IA','Friday','6/28/2024','7:30 PM','6332282','Sam-Bush-6-28-2024'],['Walter Trout','Englert Theatre','Iowa City, IA','Wednesday','7/10/2024','7:30 PM','6416114','Walter-Trout-7-10-2024'],['Keb Mo','Englert Theatre','Iowa City, IA','Saturday','7/20/2024','7:30 PM','6416116','Keb-Mo-7-20-2024'],['Robert Cray Band','Englert Theatre','Iowa City, IA','Tuesday','8/27/2024','7:30 PM','6416121','Robert-Cray-Band-8-27-2024'],['Marc Maron','Englert Theatre','Iowa City, IA','Thursday','9/5/2024','7:30 PM','6319832','Marc-Maron-9-5-2024'],['Cowboy Junkies','Englert Theatre','Iowa City, IA','Friday','10/4/2024','7:30 PM','6403305','Cowboy-Junkies-10-4-2024'],['IMomSoHard','Englert Theatre','Iowa City, IA','Sunday','10/6/2024','7:30 PM','6403264','IMomSoHard-10-6-2024'],['The Moth','Englert Theatre','Iowa City, IA','Thursday','10/10/2024','7:30 PM','6390875','The-Moth-10-10-2024'],['John McCutcheon','Englert Theatre','Iowa City, IA','Friday','11/15/2024','7:30 PM','6390876','John-McCutcheon-11-15-2024'],['Michael Franti & Spearhead','Englert Theatre','Iowa City, IA','Sunday','4/27/2070','TBD','4386915','Michael-Franti---Spearhead-4-27-2070'],['The Jayhawks','Englert Theatre','Iowa City, IA','Thursday','5/7/2071','7:30 PM','4539937','The-Jayhawks-5-7-2071']],'Englert Civic Theatre','http://www.ticketnetwork.com/ticket/Englert-Civic-Theatre-events.aspx');